dxp-ux

(0 reviews)

GET - BalanceActionHistory - TMF654

/balanceActionHistory (GET)

1.This is implemented for PA Market.

2.This is to view list of their past recharge transactions.

URL
http://[localhost]:[port]/dxp-ux/v1/{businessId}/balanceActionHistory
URL PARAMS
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
businessIdstring2 letter ISO 3166 country code (PA) identifying the business unit.Y
Headers
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y
Query PARAMS
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
receiverLogicalResource.idstringService number of the customer
Example: 50776767879
Y
confirmationDate.gtestringTo retrieve the list of past recharge transactions that were performed after this date. Expected format : yyyy-MM-dd, Eg: 2021-09-16N
confirmationDate.ltestringTo retrieve the list of past recharge transactions that were performed before this date. Expected format : yyyy-MM-dd, Eg: 2021-09-16N
@typestringType of balance action history. Possible Value : TopupBalanceY
Data Model - Response
field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
paymentMethodobjectLink to the resource that holds information about the payment mean used to complete the operation.Y
paymentMethod.idstringUnique Identifier within the server for the payment method.Y
confirmationDatedatetimeDate when the transaction was confirmed.Y
descriptionstringDescription of the recharge operation.Y
voucherstringIdentifier for a voucher when the topup can be performed by this means.N
statusstringStatus of the payment.Y
amountobjectAn amount in a given unit.Y
amount.unitsstringUnit of amountY
amount.amountnumberA positive floating point numberY
receiverLogicalResourceobjectReference to the LogicalResourceY
receiverLogicalResource.idstringUnique identifier to identify subscriberY
receiverLogicalResource.namestringName of the related entityY
channelobjectThe channel to which the resource reference to.N
channel.idstringUnique identifier of a related entity.N
channel.namestringName of the channelN
@typestringWhen sub-classing, this defines the sub-class entity name.N
Key considerations

Please find the response in the following link - DXP-UX - GET BalanceActionHistory

PA Implementation:

- This is implemented for prepaid customers.
- The '@type' input query parameter should be "TopupBalance".
- The 'receiverLogicalResource.id' input query parameter should be provided with BU code(507). Example: 50769877689
- If the dates are not specified in queryParams, the API returns history of last seven days balance action history by default.
- If the query parameter startDate is provided, the endDate parameter must also be included, and vice versa.
- The Ericsson API's data recovery period is 90 days; however, it is recommended not to use a search period longer than 7 days, as a longer period may result in a slower response time from Ericsson API.

Reviews